/**
 * The type Custom.
 */
public abstract class Custom implements Comparable{
    private int age;
    private int id;
    private int comingTime;
    private int sourceFloor;
    private int destinationFloor;
    private int leavingTime = 0;

    public Custom(int age, int id, int comingTime, int sourceFloor, int destinationFloor) {
        this.age = age;
        this.id = id;
        this.comingTime = comingTime;
        this.sourceFloor = sourceFloor;
        this.destinationFloor = destinationFloor;
    }

    @Override
    public int compareTo(Object o) {
        return 0;
    }

    @Override
    public String toString() {
        return "Custom{" +
                "age=" + age +
                ", id=" + id +
                ", comingTime=" + comingTime +
                ", sourceFloor=" + sourceFloor +
                ", destinationFloor=" + destinationFloor +
                ", leavingTime=" + leavingTime +
                '}';
    }

    /**
     * Gets age.
     *
     * @return the age
     */
    public int getAge() {
        return age;
    }

    /**
     * Sets age.
     *
     * @param age the age
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * Gets id.
     *
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * Gets coming time.
     *
     * @return the coming time
     */
    public int getComingTime() {
        return comingTime;
    }

    /**
     * Sets coming time.
     *
     * @param comingTime the coming time
     */
    public void setComingTime(int comingTime) {
        this.comingTime = comingTime;
    }

    /**
     * Gets source floor.
     *
     * @return the source floor
     */
    public int getSourceFloor() {
        return sourceFloor;
    }

    /**
     * Sets source floor.
     *
     * @param sourceFloor the source floor
     */
    public void setSourceFloor(int sourceFloor) {
        this.sourceFloor = sourceFloor;
    }

    /**
     * Gets destination floor.
     *
     * @return the destination floor
     */
    public int getDestinationFloor() {
        return destinationFloor;
    }

    /**
     * Sets destination floor.
     *
     * @param destinationFloor the destination floor
     */
    public void setDestinationFloor(int destinationFloor) {
        this.destinationFloor = destinationFloor;
    }

    /**
     * Gets leaving time.
     *
     * @return the leaving time
     */
    public int getLeavingTime() {
        return leavingTime;
    }

    /**
     * Sets leaving time.
     *
     * @param leavingTime the leaving time
     */
    public void setLeavingTime(int leavingTime) {
        this.leavingTime = leavingTime;
    }
}
